{template 'common/header-gw'}
<ol class="breadcrumb">
	<li><a href="./?refresh"><i class="fa fa-home"></i></a></li>
	<li><a href="{url 'system/welcome'}">系统</a></li>
	{if $do == 'userinfo'}<li class="active">会员信息中心</li>{/if}
	{if !empty($_W['uniacid']) && !defined('IN_MESSAGE')}{if $do == 'FinancialCenter'}<li class="active">套餐续费</li>{/if}{/if}
	{if $do == 'base'}<li class="active">基本信息</li>{/if}
	{if $do == 'profile'}<li class="active">修改密码</li>{/if}
</ol>
<ul class="nav nav-tabs">
	<li {if $do == 'userinfo'}class="active"{/if}><a href="{php echo url('user/userinfo');}">会员信息中心</a></li>
	{if !empty($_W['uniacid']) && !defined('IN_MESSAGE')}<li {if $do == 'FinancialCenter'}class="active"{/if}><a href="{php echo wurl('site/entry/FinancialCenter', array('m'=>'kim_financial'));}">套餐续费</a></li>{/if}
	<li {if $do == 'base'}class="active"{/if}><a href="{php echo url('user/profile/base');}">基本信息</a></li>
	<li {if $do == 'profile'}class="active"{/if}><a href="{php echo url('user/profile/profile');}">修改密码</a></li>
</ul>
	<div class="clearfix">
		<h5 class="page-header">会员信息中心</h5>
		<div class="form-horizontal">
			<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-2 control-label">会员名称</label>
				<div class="col-sm-10 col-xs-12">
					<input type="text"  class="form-control" value="{$user['username']}" readonly />
				</div>
			</div>
			<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-2 control-label">您所属套餐</label>
				<div class="col-sm-10 col-xs-12">
				<input type="text"  class="form-control" value="{$usergroups['name']}" readonly />
				</div>
			</div>
			<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-2 control-label">使用状态</label>
				<div class="col-sm-10 col-xs-12">
					{if intval($user['status']) != 2}<input type="text"  class="form-control"  value="被禁止" readonly />{/if}
					{if intval($user['status']) == 2}<input type="text"  class="form-control"  value="正常" readonly />{/if}
				</div>
			</div>
			<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-2 control-label">注册时间</label>
				<div class="col-sm-10 col-xs-12">
						<input type="text"  class="form-control" value="{php echo date('Y-m-d H:i:s', $user['joindate'])}" readonly />
				</div>
			</div>
			<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-2 control-label">VIP到期时间</label>
				<div class="col-sm-10 col-xs-12">
						<input type="text" class="form-control" value="{$uni['setmeal']['timelimit']}" readonly />
				</div>
			</div>
		</div>
	</div>
{template 'common/footer-gw'}